package com.fudan.backend.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeliveryInfo {
    private String deliveryInfoId;
    private String storeId;
    private String orderId;
    private String addressId;
    private Address address;
    private Order order;
    /**
     * 0未发货 1已发货 2订单取消
     */
    private Integer status;

    public DeliveryInfo(String deliveryInfoId, String storeId, String orderId, String addressId, Integer status) {
        this.deliveryInfoId = deliveryInfoId;
        this.storeId = storeId;
        this.orderId = orderId;
        this.addressId = addressId;
        this.status = status;
    }
}
